﻿<%@ Assembly Name="zs.ClassicTheme, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d09e3774f05000da" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>

<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="wssuc" TagName="LinksTable" src="/_controltemplates/LinksTable.ascx" %> <%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="/_controltemplates/InputFormSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="/_controltemplates/InputFormControl.ascx" %> <%@ Register TagPrefix="wssuc" TagName="LinkSection" src="/_controltemplates/LinkSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="/_controltemplates/ButtonSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ActionBar" src="/_controltemplates/ActionBar.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ToolBar" src="/_controltemplates/ToolBar.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="/_controltemplates/ToolBarButton.ascx" %> <%@ Register TagPrefix="wssuc" TagName="Welcome" src="/_controltemplates/Welcome.ascx" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" Inherits="zevenseas.ClassicTheme.ApplyTheme" MasterPageFile="/_layouts/application.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
       
       <table class=propertysheet border="0" width="100%" cellspacing="0" cellpadding="0" >
       <asp:UpdatePanel ID="UpdateThemingPanel" UpdateMode="Always" runat="server">
       <ContentTemplate>
<wssuc:InputFormSection Title="Select theme"
			Description="Select a theme in the dropdown to apply on the site"
			runat="server">
			<Template_InputFormControls>
				<wssuc:InputFormControl LabelText="Theme" runat="server">
					<Template_Control>
						<asp:Image id="ThemePicture" runat="server" />
					<asp:DropDownList runat="server" id="ThemesDropDown" AutoPostBack="true"/>
					</Template_Control>
				</wssuc:InputFormControl>
			</Template_InputFormControls>
		</wssuc:InputFormSection>
		<wssuc:InputFormSection Title="Also on subsites"
			Description="When checked, the theme will also be applied to all the subsites of this site."
			runat="server">
			<Template_InputFormControls>
				<wssuc:InputFormControl runat="server">
					<Template_Control>
						 <asp:CheckBox runat="server" ID="ApplyAllWebs" Text="Apply on all subwebs?" />
					</Template_Control>
				</wssuc:InputFormControl>
			</Template_InputFormControls>
		</wssuc:InputFormSection>


                   
				
        </ContentTemplate>
	</asp:UpdatePanel>

		<wssuc:ButtonSection runat="server">
			<Template_Buttons>
                <asp:Button id="ApplyThemeBtn" runat="server" class="ms-ButtonHeightWidth" OnClick="ApplyThemeBtn_Click" Text="<%$Resources:wss,themeweb_apply%>" />				
			</Template_Buttons>
		</wssuc:ButtonSection>
	</table>


</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Application Page
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
My Application Page
</asp:Content>
